package org.jeecg.modules.sanitation2.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 卫生打分
 * @Author: jeecg-boot
 * @Date:   2021-04-29
 * @Version: V1.0
 */
@ApiModel(value="lwgy_score_sanitation对象", description="卫生打分")
@Data
@TableName("lwgy_score_sanitation")
public class LwgyScoreSanitation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**校区*/
	@Excel(name = "校区", width = 15)
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "校区")
    private String campusId;
	/**楼宇*/
	@Excel(name = "楼宇", width = 15)
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼宇")
    private String buildingId;
    /**校区*/
    @Excel(name = "校区", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "校区")
    @TableField(exist = false)
    private String studentCampus;
    /**院系*/
    @Excel(name = "院系", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "院系")
    @TableField(exist = false)
    private String studentCollege;
	/**单元*/
	@Excel(name = "单元", width = 15)
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "单元")
    private String unitId;
	/**楼层*/
	@Excel(name = "楼层", width = 15)
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼层")
    private String layerId;
	/**房间*/
	@Excel(name = "房间", width = 15)
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "房间")
    private String roomId;
    /**辅导员*/
    @Excel(name = "辅导员", width = 15)
    @Dict(dicCode = "id",dicText = "student_teacher",dictTable = "lwgy_base_student")
    @ApiModelProperty(value = "辅导员")
    @TableField(exist = false)
    private String studentTeacher;
	/**打分批次*/
	@Excel(name = "打分批次", width = 15)
    @Dict(dictTable = "lwgy_setting_sanitation", dicText = "batch_name", dicCode = "id")
    @ApiModelProperty(value = "打分批次")
    private String scaleBatches;
	/**打分指标*/
	@Excel(name = "打分指标", width = 15, dicCode = "sanitation_target_type")
    @Dict(dicCode = "sanitation_target_type")
    @ApiModelProperty(value = "打分指标")
    private String targetType;
	/**指标名称*/
	@Excel(name = "指标名称", width = 15)
    @ApiModelProperty(value = "指标名称")
    private String targetName;
	/**打分方式*/
	@Excel(name = "打分方式", width = 15, dicCode = "sanitation_score_way")
    @Dict(dicCode = "sanitation_score_way")
    @ApiModelProperty(value = "打分方式")
    private String scoreWay;
	/**总计得分*/
	@Excel(name = "总计得分", width = 15)
    @ApiModelProperty(value = "总计得分")
    private String totalScore;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**辅导员*/
	@Excel(name = "辅导员", width = 15)
    @ApiModelProperty(value = "辅导员")
    private String instructor;

    /**照片*/
    @Excel(name = "照片", width = 15)
    @ApiModelProperty(value = "照片")
    private String scenePhoto;

    /**确认状态*/
    @Excel(name = "确认状态", width = 15,dicCode = "success_state")
    @Dict(dicCode = "success_state")
    @ApiModelProperty(value = "确认状态")
    private java.lang.String successState;
}
